package io.github.talelin.latticy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.github.talelin.latticy.model.BannerDO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName BannerMapper
 * @Description TODO
 * @Author wushaopei
 * @Date 2021/10/17 14:22
 * @Version 1.0
 */
@Repository
public interface BannerMapper extends BaseMapper<BannerDO>{
    List<BannerDO> getAllBanners();

    void insertBanner(BannerDO bannerDO);
}
